﻿using System;
using System.Windows.Forms;
using Home.MobileSales.Common.Components;
using Home.MobileSales.Common.Entities;


namespace Home.MobileSales.Sales.Interface
{

    public interface ISheduleVisitsView
    {
        void SetBindingSource(BindingSource bindingSource);
        void SetSelectFilter(Filter[] f);
        Filter FilterValue { get; }
        string ActiveColumn { get; }
        bool IsChange { get; set; }
        void ShowAddVisitDialog(AddVisitDialog visitDialog);
        void CloseAddDialog();

        event EventHandler<EventArgs> EditRecord;
        event EventHandler<EventArgs> DeleteRecord;
        event EventHandler<EventArgs> AddRecord;
        event EventHandler<EventArgs> SaveChanges;
        event EventHandler<EventArgs> SetFilter;
    }
}
